<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xdmapcie: xdmapcie_intr.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xdmapcie
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xdmapcie__intr_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xdmapcie_intr.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file implements interrupt functions for the <a class="el" href="struct_x_dma_pcie.html" title="The XDmaPcie driver instance data. ">XDmaPcie</a> IP. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
</p>
<hr/>
<p>
1.0     tk      01/30/2019      First release
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a60093f2ef3dd433de9da51dadc1e46bc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdmapcie__intr_8c.html#a60093f2ef3dd433de9da51dadc1e46bc">XDmaPcie_EnableGlobalInterrupt</a> (<a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *InstancePtr)</td></tr>
<tr class="memdesc:a60093f2ef3dd433de9da51dadc1e46bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the Global Interrupt.  <a href="#a60093f2ef3dd433de9da51dadc1e46bc">More...</a><br/></td></tr>
<tr class="separator:a60093f2ef3dd433de9da51dadc1e46bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3130feda681a6630a2c1d0cb77a2d868"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdmapcie__intr_8c.html#a3130feda681a6630a2c1d0cb77a2d868">XDmaPcie_DisableGlobalInterrupt</a> (<a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *InstancePtr)</td></tr>
<tr class="memdesc:a3130feda681a6630a2c1d0cb77a2d868"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the Global Interrupt.  <a href="#a3130feda681a6630a2c1d0cb77a2d868">More...</a><br/></td></tr>
<tr class="separator:a3130feda681a6630a2c1d0cb77a2d868"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a034dab86e9626ac44e222373d056f693"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdmapcie__intr_8c.html#a034dab86e9626ac44e222373d056f693">XDmaPcie_EnableInterrupts</a> (<a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *InstancePtr, u32 EnableMask)</td></tr>
<tr class="memdesc:a034dab86e9626ac44e222373d056f693"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the IP interrupt bits passed into "EnableMask".  <a href="#a034dab86e9626ac44e222373d056f693">More...</a><br/></td></tr>
<tr class="separator:a034dab86e9626ac44e222373d056f693"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a086244f1e8866721dbb016893814281a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdmapcie__intr_8c.html#a086244f1e8866721dbb016893814281a">XDmaPcie_DisableInterrupts</a> (<a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *InstancePtr, u32 DisableMask)</td></tr>
<tr class="memdesc:a086244f1e8866721dbb016893814281a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the IP interrupt bits passed into "DisableMask".  <a href="#a086244f1e8866721dbb016893814281a">More...</a><br/></td></tr>
<tr class="separator:a086244f1e8866721dbb016893814281a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f0db923538acc2ee66a3011f1abf32c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdmapcie__intr_8c.html#a7f0db923538acc2ee66a3011f1abf32c">XDmaPcie_GetEnabledInterrupts</a> (<a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *InstancePtr, u32 *EnabledMaskPtr)</td></tr>
<tr class="memdesc:a7f0db923538acc2ee66a3011f1abf32c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the currently enabled interrupt bits of the IP and pass them back to the caller into "EnabledMask".  <a href="#a7f0db923538acc2ee66a3011f1abf32c">More...</a><br/></td></tr>
<tr class="separator:a7f0db923538acc2ee66a3011f1abf32c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbcdc92c0afe5f15363ceea6dd2472be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdmapcie__intr_8c.html#afbcdc92c0afe5f15363ceea6dd2472be">XDmaPcie_GetPendingInterrupts</a> (<a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *InstancePtr, u32 *PendingMaskPtr)</td></tr>
<tr class="memdesc:afbcdc92c0afe5f15363ceea6dd2472be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the currently pending interrupt bits of the IP and pass them back to the caller into "PendingMask".  <a href="#afbcdc92c0afe5f15363ceea6dd2472be">More...</a><br/></td></tr>
<tr class="separator:afbcdc92c0afe5f15363ceea6dd2472be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ba2488b5b13dfebf7a3df93c300d67e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdmapcie__intr_8c.html#a1ba2488b5b13dfebf7a3df93c300d67e">XDmaPcie_ClearPendingInterrupts</a> (<a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *InstancePtr, u32 ClearMask)</td></tr>
<tr class="memdesc:a1ba2488b5b13dfebf7a3df93c300d67e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the currently pending interrupt bits of the IP passed from the caller into "ClearMask".  <a href="#a1ba2488b5b13dfebf7a3df93c300d67e">More...</a><br/></td></tr>
<tr class="separator:a1ba2488b5b13dfebf7a3df93c300d67e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a1ba2488b5b13dfebf7a3df93c300d67e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDmaPcie_ClearPendingInterrupts </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>ClearMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear the currently pending interrupt bits of the IP passed from the caller into "ClearMask". </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_dma_pcie.html" title="The XDmaPcie driver instance data. ">XDmaPcie</a> instance to operate on. </td></tr>
    <tr><td class="paramname">ClearMask</td><td>is the bit pattern for pending interrupts wanted to be cleared.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_dma_pcie___config.html#a11981cd817dda09fa8ffb1e4b6c524bd">XDmaPcie_Config::BaseAddress</a>, <a class="el" href="struct_x_dma_pcie.html#af5d05276beffe8f09d05bf237cc3d2f5">XDmaPcie::Config</a>, <a class="el" href="struct_x_dma_pcie.html#ab8f1b6c7f90a5614de5f726f4daef12e">XDmaPcie::IsReady</a>, <a class="el" href="xdmapcie__hw_8h.html#a1a466d7f94958ad960844918169a95ef">XDMAPCIE_ID_OFFSET</a>, <a class="el" href="xdmapcie__hw_8h.html#a736c70d6aa883f4d252670658e3b95ad">XDmaPcie_ReadReg</a>, and <a class="el" href="xdmapcie__hw_8h.html#afa180a178e9501f6238f5a5fbbd62a69">XDmaPcie_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xdmapcie__rc__enumerate__example_8c.html#aa1e7ab3bea37defba5bf6590492c9b3c">PcieInitRootComplex()</a>.</p>

</div>
</div>
<a class="anchor" id="a3130feda681a6630a2c1d0cb77a2d868"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDmaPcie_DisableGlobalInterrupt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disable the Global Interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_dma_pcie.html" title="The XDmaPcie driver instance data. ">XDmaPcie</a> instance to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This bit is in the Bridge Status and Control Register. </dd></dl>

<p>References <a class="el" href="struct_x_dma_pcie___config.html#a11981cd817dda09fa8ffb1e4b6c524bd">XDmaPcie_Config::BaseAddress</a>, <a class="el" href="struct_x_dma_pcie.html#af5d05276beffe8f09d05bf237cc3d2f5">XDmaPcie::Config</a>, <a class="el" href="struct_x_dma_pcie.html#ab8f1b6c7f90a5614de5f726f4daef12e">XDmaPcie::IsReady</a>, <a class="el" href="xdmapcie__hw_8h.html#ad1ca428956c846fb789bc4c9bb31bc58">XDMAPCIE_BSC_GI_MASK</a>, <a class="el" href="xdmapcie__hw_8h.html#a46af7762c004cff0605f71238f33039a">XDMAPCIE_BSC_GI_SHIFT</a>, <a class="el" href="xdmapcie__hw_8h.html#ac669dec8e84593dc82387d7abb9e27ae">XDMAPCIE_BSC_OFFSET</a>, <a class="el" href="xdmapcie__hw_8h.html#a736c70d6aa883f4d252670658e3b95ad">XDmaPcie_ReadReg</a>, and <a class="el" href="xdmapcie__hw_8h.html#afa180a178e9501f6238f5a5fbbd62a69">XDmaPcie_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a086244f1e8866721dbb016893814281a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDmaPcie_DisableInterrupts </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>DisableMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disable the IP interrupt bits passed into "DisableMask". </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_dma_pcie.html" title="The XDmaPcie driver instance data. ">XDmaPcie</a> instance to operate on. </td></tr>
    <tr><td class="paramname">DisableMask</td><td>is the bit pattern for interrupts wanted to be disabled.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If an interrupt is already disabled before calling this function, it will stay disabled regardless of the value of "DisableMask" passed from the caller. </dd></dl>

<p>References <a class="el" href="struct_x_dma_pcie___config.html#a11981cd817dda09fa8ffb1e4b6c524bd">XDmaPcie_Config::BaseAddress</a>, <a class="el" href="struct_x_dma_pcie.html#af5d05276beffe8f09d05bf237cc3d2f5">XDmaPcie::Config</a>, <a class="el" href="struct_x_dma_pcie.html#ab8f1b6c7f90a5614de5f726f4daef12e">XDmaPcie::IsReady</a>, <a class="el" href="xdmapcie__hw_8h.html#a241506bc1816800ebc206d77b9d26436">XDMAPCIE_IM_OFFSET</a>, <a class="el" href="xdmapcie__hw_8h.html#a736c70d6aa883f4d252670658e3b95ad">XDmaPcie_ReadReg</a>, and <a class="el" href="xdmapcie__hw_8h.html#afa180a178e9501f6238f5a5fbbd62a69">XDmaPcie_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xdmapcie__rc__enumerate__example_8c.html#aa1e7ab3bea37defba5bf6590492c9b3c">PcieInitRootComplex()</a>, and <a class="el" href="xdmapcie_8h.html#a557a92506060fd460154426bd8c4870c">XDmaPcie_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="a60093f2ef3dd433de9da51dadc1e46bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDmaPcie_EnableGlobalInterrupt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable the Global Interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_dma_pcie.html" title="The XDmaPcie driver instance data. ">XDmaPcie</a> instance to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This bit is in the Bridge Status and Control Register. </dd></dl>

<p>References <a class="el" href="struct_x_dma_pcie___config.html#a11981cd817dda09fa8ffb1e4b6c524bd">XDmaPcie_Config::BaseAddress</a>, <a class="el" href="struct_x_dma_pcie.html#af5d05276beffe8f09d05bf237cc3d2f5">XDmaPcie::Config</a>, <a class="el" href="struct_x_dma_pcie.html#ab8f1b6c7f90a5614de5f726f4daef12e">XDmaPcie::IsReady</a>, <a class="el" href="xdmapcie__hw_8h.html#ad1ca428956c846fb789bc4c9bb31bc58">XDMAPCIE_BSC_GI_MASK</a>, <a class="el" href="xdmapcie__hw_8h.html#a46af7762c004cff0605f71238f33039a">XDMAPCIE_BSC_GI_SHIFT</a>, <a class="el" href="xdmapcie__hw_8h.html#ac669dec8e84593dc82387d7abb9e27ae">XDMAPCIE_BSC_OFFSET</a>, <a class="el" href="xdmapcie__hw_8h.html#a736c70d6aa883f4d252670658e3b95ad">XDmaPcie_ReadReg</a>, and <a class="el" href="xdmapcie__hw_8h.html#afa180a178e9501f6238f5a5fbbd62a69">XDmaPcie_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a034dab86e9626ac44e222373d056f693"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDmaPcie_EnableInterrupts </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>EnableMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable the IP interrupt bits passed into "EnableMask". </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_dma_pcie.html" title="The XDmaPcie driver instance data. ">XDmaPcie</a> instance to operate on. </td></tr>
    <tr><td class="paramname">EnableMask</td><td>is the bit pattern for interrupts wanted to be enabled.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If an interrupt is already enabled before calling this function, it will stay enabled regardless of the value of "EnableMask" passed from the caller. </dd></dl>

<p>References <a class="el" href="struct_x_dma_pcie___config.html#a11981cd817dda09fa8ffb1e4b6c524bd">XDmaPcie_Config::BaseAddress</a>, <a class="el" href="struct_x_dma_pcie.html#af5d05276beffe8f09d05bf237cc3d2f5">XDmaPcie::Config</a>, <a class="el" href="struct_x_dma_pcie.html#ab8f1b6c7f90a5614de5f726f4daef12e">XDmaPcie::IsReady</a>, <a class="el" href="xdmapcie__hw_8h.html#a241506bc1816800ebc206d77b9d26436">XDMAPCIE_IM_OFFSET</a>, <a class="el" href="xdmapcie__hw_8h.html#a736c70d6aa883f4d252670658e3b95ad">XDmaPcie_ReadReg</a>, and <a class="el" href="xdmapcie__hw_8h.html#afa180a178e9501f6238f5a5fbbd62a69">XDmaPcie_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a7f0db923538acc2ee66a3011f1abf32c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDmaPcie_GetEnabledInterrupts </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>EnabledMaskPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the currently enabled interrupt bits of the IP and pass them back to the caller into "EnabledMask". </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_dma_pcie.html" title="The XDmaPcie driver instance data. ">XDmaPcie</a> instance to operate on. </td></tr>
    <tr><td class="paramname">EnabledMaskPtr</td><td>is a pointer to a variable where the driver will pass back the enabled interrupt bits after reading them from IP.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_dma_pcie___config.html#a11981cd817dda09fa8ffb1e4b6c524bd">XDmaPcie_Config::BaseAddress</a>, <a class="el" href="struct_x_dma_pcie.html#af5d05276beffe8f09d05bf237cc3d2f5">XDmaPcie::Config</a>, <a class="el" href="struct_x_dma_pcie.html#ab8f1b6c7f90a5614de5f726f4daef12e">XDmaPcie::IsReady</a>, <a class="el" href="xdmapcie__hw_8h.html#a241506bc1816800ebc206d77b9d26436">XDMAPCIE_IM_OFFSET</a>, and <a class="el" href="xdmapcie__hw_8h.html#a736c70d6aa883f4d252670658e3b95ad">XDmaPcie_ReadReg</a>.</p>

<p>Referenced by <a class="el" href="xdmapcie__rc__enumerate__example_8c.html#aa1e7ab3bea37defba5bf6590492c9b3c">PcieInitRootComplex()</a>.</p>

</div>
</div>
<a class="anchor" id="afbcdc92c0afe5f15363ceea6dd2472be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDmaPcie_GetPendingInterrupts </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dma_pcie.html">XDmaPcie</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>PendingMaskPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the currently pending interrupt bits of the IP and pass them back to the caller into "PendingMask". </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_dma_pcie.html" title="The XDmaPcie driver instance data. ">XDmaPcie</a> instance to operate on. </td></tr>
    <tr><td class="paramname">PendingMaskPtr</td><td>is a pointer to a variable where the driver will pass back the pending interrupt bits after reading them from IP.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_dma_pcie___config.html#a11981cd817dda09fa8ffb1e4b6c524bd">XDmaPcie_Config::BaseAddress</a>, <a class="el" href="struct_x_dma_pcie.html#af5d05276beffe8f09d05bf237cc3d2f5">XDmaPcie::Config</a>, <a class="el" href="struct_x_dma_pcie.html#ab8f1b6c7f90a5614de5f726f4daef12e">XDmaPcie::IsReady</a>, <a class="el" href="xdmapcie__hw_8h.html#a1a466d7f94958ad960844918169a95ef">XDMAPCIE_ID_OFFSET</a>, and <a class="el" href="xdmapcie__hw_8h.html#a736c70d6aa883f4d252670658e3b95ad">XDmaPcie_ReadReg</a>.</p>

<p>Referenced by <a class="el" href="xdmapcie__rc__enumerate__example_8c.html#aa1e7ab3bea37defba5bf6590492c9b3c">PcieInitRootComplex()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
